.class Lcn/domob/android/ads/f$1;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcn/domob/android/ads/f;->z()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcn/domob/android/ads/i$b;

.field final synthetic b:Lcn/domob/android/ads/f;


# direct methods
.method constructor <init>(Lcn/domob/android/ads/f;Lcn/domob/android/ads/i$b;)V
    .locals 0

    iput-object p1, p0, Lcn/domob/android/ads/f$1;->b:Lcn/domob/android/ads/f;

    iput-object p2, p0, Lcn/domob/android/ads/f$1;->a:Lcn/domob/android/ads/i$b;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 5

    iget-object v0, p0, Lcn/domob/android/ads/f$1;->a:Lcn/domob/android/ads/i$b;

    invoke-virtual {v0}, Lcn/domob/android/ads/i$b;->b()I

    move-result v0

    int-to-float v0, v0

    iget-object v1, p0, Lcn/domob/android/ads/f$1;->b:Lcn/domob/android/ads/f;

    iget-object v1, v1, Lcn/domob/android/ads/f;->a:Landroid/content/Context;

    invoke-static {v1}, Lcn/domob/android/ads/n;->u(Landroid/content/Context;)F

    move-result v1

    mul-float/2addr v0, v1

    float-to-int v0, v0

    iget-object v1, p0, Lcn/domob/android/ads/f$1;->a:Lcn/domob/android/ads/i$b;

    invoke-virtual {v1}, Lcn/domob/android/ads/i$b;->c()I

    move-result v1

    int-to-float v1, v1

    iget-object v2, p0, Lcn/domob/android/ads/f$1;->b:Lcn/domob/android/ads/f;

    iget-object v2, v2, Lcn/domob/android/ads/f;->a:Landroid/content/Context;

    invoke-static {v2}, Lcn/domob/android/ads/n;->u(Landroid/content/Context;)F

    move-result v2

    mul-float/2addr v1, v2

    float-to-int v1, v1

    iget-object v2, p0, Lcn/domob/android/ads/f$1;->b:Lcn/domob/android/ads/f;

    iget-object v2, v2, Lcn/domob/android/ads/f;->b:Lcn/domob/android/ads/DomobAdView;

    invoke-virtual {v2, v0, v1}, Lcn/domob/android/ads/DomobAdView;->a(II)V

    iget-object v2, p0, Lcn/domob/android/ads/f$1;->b:Lcn/domob/android/ads/f;

    iget-object v3, p0, Lcn/domob/android/ads/f$1;->b:Lcn/domob/android/ads/f;

    iget-object v3, v3, Lcn/domob/android/ads/f;->b:Lcn/domob/android/ads/DomobAdView;

    invoke-virtual {v3}, Lcn/domob/android/ads/DomobAdView;->f()Lcn/domob/android/ads/m;

    move-result-object v3

    iput-object v3, v2, Lcn/domob/android/ads/f;->e:Lcn/domob/android/ads/m;

    iget-object v2, p0, Lcn/domob/android/ads/f$1;->b:Lcn/domob/android/ads/f;

    iget-object v2, v2, Lcn/domob/android/ads/f;->e:Lcn/domob/android/ads/m;

    invoke-virtual {v2}, Lcn/domob/android/ads/m;->a()Lcn/domob/android/ads/C;

    move-result-object v2

    new-instance v3, Landroid/widget/FrameLayout$LayoutParams;

    invoke-direct {v3, v0, v1}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v2, v3}, Lcn/domob/android/ads/C;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcn/domob/android/ads/f$1;->a:Lcn/domob/android/ads/i$b;

    invoke-virtual {v0}, Lcn/domob/android/ads/i$b;->e()Ljava/lang/String;

    move-result-object v0

    const-string v1, "url"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-static {}, Lcn/domob/android/ads/f;->G()Lcn/domob/android/ads/H;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "Get an DomobWebView instance and load with URL:"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcn/domob/android/ads/f$1;->a:Lcn/domob/android/ads/i$b;

    invoke-virtual {v2}, Lcn/domob/android/ads/i$b;->d()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcn/domob/android/ads/H;->a(Ljava/lang/String;)V

    new-instance v0, Lcn/domob/android/ads/F;

    iget-object v1, p0, Lcn/domob/android/ads/f$1;->b:Lcn/domob/android/ads/f;

    iget-object v1, v1, Lcn/domob/android/ads/f;->a:Landroid/content/Context;

    iget-object v2, p0, Lcn/domob/android/ads/f$1;->b:Lcn/domob/android/ads/f;

    invoke-direct {v0, v1, v2}, Lcn/domob/android/ads/F;-><init>(Landroid/content/Context;Lcn/domob/android/ads/E;)V

    iget-object v1, p0, Lcn/domob/android/ads/f$1;->b:Lcn/domob/android/ads/f;

    iget-object v1, v1, Lcn/domob/android/ads/f;->e:Lcn/domob/android/ads/m;

    invoke-virtual {v1}, Lcn/domob/android/ads/m;->a()Lcn/domob/android/ads/C;

    move-result-object v1

    iget-object v2, p0, Lcn/domob/android/ads/f$1;->a:Lcn/domob/android/ads/i$b;

    invoke-virtual {v2}, Lcn/domob/android/ads/i$b;->d()Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x0

    invoke-virtual {v0, v1, v2, v3}, Lcn/domob/android/ads/F;->a(Lcn/domob/android/ads/C;Ljava/lang/String;Ljava/lang/String;)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcn/domob/android/ads/f$1;->a:Lcn/domob/android/ads/i$b;

    invoke-virtual {v0}, Lcn/domob/android/ads/i$b;->e()Ljava/lang/String;

    move-result-object v0

    const-string v1, "content"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-static {}, Lcn/domob/android/ads/f;->G()Lcn/domob/android/ads/H;

    move-result-object v0

    const-string v1, "Get an DomobWebView instance and load data = [%s] with base URL=[%s]"

    const/4 v2, 0x2

    new-array v2, v2, [Ljava/lang/Object;

    const/4 v3, 0x0

    iget-object v4, p0, Lcn/domob/android/ads/f$1;->a:Lcn/domob/android/ads/i$b;

    invoke-virtual {v4}, Lcn/domob/android/ads/i$b;->g()Ljava/lang/String;

    move-result-object v4

    aput-object v4, v2, v3

    const/4 v3, 0x1

    iget-object v4, p0, Lcn/domob/android/ads/f$1;->a:Lcn/domob/android/ads/i$b;

    invoke-virtual {v4}, Lcn/domob/android/ads/i$b;->f()Ljava/lang/String;

    move-result-object v4

    aput-object v4, v2, v3

    invoke-static {v1, v2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcn/domob/android/ads/H;->a(Ljava/lang/String;)V

    new-instance v0, Lcn/domob/android/ads/F;

    iget-object v1, p0, Lcn/domob/android/ads/f$1;->b:Lcn/domob/android/ads/f;

    iget-object v1, v1, Lcn/domob/android/ads/f;->a:Landroid/content/Context;

    iget-object v2, p0, Lcn/domob/android/ads/f$1;->b:Lcn/domob/android/ads/f;

    invoke-direct {v0, v1, v2}, Lcn/domob/android/ads/F;-><init>(Landroid/content/Context;Lcn/domob/android/ads/E;)V

    iget-object v1, p0, Lcn/domob/android/ads/f$1;->b:Lcn/domob/android/ads/f;

    iget-object v1, v1, Lcn/domob/android/ads/f;->e:Lcn/domob/android/ads/m;

    invoke-virtual {v1}, Lcn/domob/android/ads/m;->a()Lcn/domob/android/ads/C;

    move-result-object v1

    iget-object v2, p0, Lcn/domob/android/ads/f$1;->a:Lcn/domob/android/ads/i$b;

    invoke-virtual {v2}, Lcn/domob/android/ads/i$b;->f()Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcn/domob/android/ads/f$1;->a:Lcn/domob/android/ads/i$b;

    invoke-virtual {v3}, Lcn/domob/android/ads/i$b;->g()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v1, v2, v3}, Lcn/domob/android/ads/F;->a(Lcn/domob/android/ads/C;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0
.end method
